package net.nandleon.AgenceVoyage.client.services;

import java.util.List;
import java.util.Map;

import net.nandleon.AgenceVoyage.shared.Panier;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>LoginService</code>.
 */
public interface LoginServiceAsync {
	void login(String login, String password, AsyncCallback<String> callback);

	void verifyLogin(String sessionID, AsyncCallback<Map> asyncCallback);

	void backupPanier(String sessionID, Panier monPanier,
			AsyncCallback<String> asyncCallback);

}